<style type="text/css">
    #form{
        padding: 15px;
    }
</style>
<div class="bjui-pageContent">
    <div id="form">
        <form method='post' data-toggle="validate" action="{:U('Person/pwd')}">
            <table class="table table-bordered table-hover table-striped table-top">
                <tr>
                    <td>旧密码：</td>
                    <td>
                        <input type="password" name="oldpassword" class="inp_one" value="" data-rule="required" data-tip="请填写旧密码！" data-ok="OK"/>
                    </td>
                </tr>
                <tr>
                    <td>新密码：</td>
                    <td>
                        <input type="password" name="password" class="inp_one" value="" data-rule="密码:required" data-tip="请填写新密码！" data-ok="OK"/>
                    </td>
                </tr>
                <tr>
                    <td>密码确认：</td>
                    <td>
                        <input type="password" name="rpassword" class="inp_one" value="" data-rule="确认密码:required;match(password)"/>
                    </td>
                </tr>

                <if condition="$uid">
                    <input type="hidden" name="uid" value="{$uid}" />
                </if>
            </table>
        </form>
    </div>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li>
            <button type="button" class="btn-close" data-icon="close">关闭</button>
        </li>
        <li>
            <button data-icon="save" class="btn btn-default" type="submit">保存</button>
        </li>
    </ul>
</div>